package com.mashibing.constant;

public class AmapDirectionConstant {

    /**
     * 高德路径规划服务请求地址
     */

    public static final String DIRECTION_URL="https://restapi.amap.com/v3/direction/driving";

    /**
     * 路径规划接口返回数据key
     */
    // 结果状态值，值为0或1  0：请求失败；1：请求成功
    public static final String STATUS = "status";
    // 驾车路径规划信息列表
    public static final String ROUTE = "route";
    // 驾车换乘方案
    public static final String PATHS = "paths";
    // 行驶距离
    public static final String DISTANCE = "distance";
    // 预计行驶时间
    public static final String DURATION = "duration";
    // 默认驾车选择策略
    public static final int DEFAULT_STRATEGY = 0;

}
